﻿@import '../../UIbase/Default/UIBase.scss';
html{
    width:550px;
    height:400px;
    zoom:1;
    overflow:hidden;
}
body {
    width:100%;
    height:100%;
    zoom:1;
    text-align:center;
}
#Wnd{
    margin:0 auto;
    width:520px;
    height:400px;
    zoom:1;
    overflow:hidden;
    & h2{
        text-align:left;
    }
}
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
/*#region 标准化基础元素*/
/**
 * Correct `block` display not defined in IE 8/9.
 */

h1{
    font-family: Arial,'Microsoft YaHei',SimHei;
    vertical-align: middle;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 28px;
    font-weight: bold;
    margin:0;
}

h2{
        font-family: Arial,'Microsoft YaHei',SimHei;
    vertical-align: middle;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size:24px;
    font-weight:bold;
    margin:0;
}

h3{
    font-family: Arial,'Microsoft YaHei',SimHei;
    vertical-align: middle;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size:20px;
    font-weight:bold;
    margin:0;
}

h4{
    font-family: Arial,'Microsoft YaHei',SimHei;
    vertical-align: middle;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size:18px;
    font-weight:normal;
    margin:0;
}

h5{
    font-family: Arial,'Microsoft YaHei',SimHei;
    vertical-align: middle;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size:14px;
    font-weight:bold;
    margin:0;
}

div {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

ul{
    -webkit-margin-before: 0;
    -webkit-padding-start: 0;
}


select,
textarea,
input,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
    @extend %InputBox;
    &:focus{
        @extend %InputBoxOnFocus;
    }
    &.error{
        @extend %InputBoxOnError;
    }
    &.error:focus{
        @extend %InputBoxOnError;
    }
    &.disable{
        @extend %InputBoxOnDisable;
        box-shadow:none;
    }
    &.error.disable{
        @extend %InputBoxOnDisable;
        box-shadow:none;
    }

    &.disable:focus{
        @extend %InputBoxOnDisable;
        box-shadow:none;
    }
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/**
 * Correct `inline-block` display not defined in IE 8/9.
 */

audio,
canvas,
video {
    display: inline-block;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/* ==========================================================================
   Links
   ========================================================================== */
a{
    color:GrayText;
    text-decoration: none;
    border-bottom: 1px dotted #4b4b4b;
    cursor:pointer;
    background: transparent;
    &:link {
        text-decoration: none;
    }
    &:visited {
        text-decoration: none;
    }
    &:focus {
        outline: thin dotted;
    }
    &:hover{
        outline:0;
        color: $ClrTheme;
        text-decoration: none;
    }
    &:active{
        outline:0;
        color: $ClrTheme;
        text-decoration: none;
    }
}

/* ==========================================================================
   Typography
   ========================================================================== */
/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */
abbr[title] {
    border-bottom: 1px dotted;
}
/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */
b,
strong {
    font-weight: bold;
}
/**
 * Address styling not present in Safari 5 and Chrome.
 */
dfn {
    font-style: italic;
}
/**
 * Address differences between Firefox and other browsers.
 */
hr {
    height: 0;
}
/**
 * Address styling not present in IE 8/9.
 */
mark {
    background: #ff0;
    color: #000;
}
/**
 * Correct font family set oddly in Safari 5 and Chrome.
 */
code,
kbd,
pre,
samp {
    font-family: 'Arial,sans-serif','Microsoft YaHei',STSong; /* 1 */
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    padding: 0;
    white-space: pre-wrap;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/**
 * Set consistent quote types.
 */

q {
    quotes: "\201C" "\201D" "\2018" "\2019";
        -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}
sub {
    bottom: -0.25em;
}

/* ==========================================================================
   Embedded content
   ========================================================================== */
/**
 * Remove border when inside `a` element in IE 8/9.
 */

img {
    border: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/**
 * Correct overflow displayed oddly in IE 9.
 */

svg:not(:root) {
    overflow: hidden;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* ==========================================================================
   Figures
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari 5.
 */

figure {
    margin: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
    border: 0; /* 1 */
    padding: 0; /* 2 */
}

/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */

button,
input,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 2 */
    margin: 0; /* 3 */
    height: 40px;
    line-height: 40px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button{
    line-height: normal;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */

button,
select {
    text-transform: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
input[disabled] {
    cursor: default;
}

/**
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */
input[type="checkbox"],
input[type="radio"] {
    padding: 0; /* 2 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */
input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
}
/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/*#endregion*/

/*#region 内容窗体*/

.SectionTitle{
    @extend %TitleLv3;
    height:40px;
    line-height:40px;
    margin-bottom:5px;
    border-bottom:1px solid white;
}
.SectionTitle:before{
    content:' ';
    display:block;
    float:left;
    width:15px;
    height:100%;
    margin-right:5px;
    background-color:$ClrTheme;
}

.BlockTitle{
    @extend %TitleLv3;
    background-color: $ClrTheme;
    line-height: 48px;
    height: 48px;
    border: none;
    display: inline-block;
    margin-left: -20px;
    padding-left:20px;
    min-width: 160px;
    &:after {
        content: '';
        float:right;
        margin-right:-48px;
        background-color: transparent;
        border:24px solid transparent;
        border-top-color:$ClrTheme;
        border-right-color:$ClrTheme;
        -moz-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }
    &:before{
        content:'';
        float:left;
        margin-top:40px;
        margin-left:-17px;
        background-color: transparent;
        border:8px solid transparent;
        border-bottom-color:gray;
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }
}

#PageTitle{
    width:100%;
    height:48px;
    line-height:52px;
    background-color:$ClrTheme;
    text-align:left;
    padding-left:20px;
    & h3{
        color:white;
    }
}
/*#endregion*/
#Disclaime{
    box-shadow:0 0 1px #c3b168 inset;
    background-color:cornsilk;
    width:100%;
    margin-top:10px;
    margin-bottom:10px;
    font-size:smaller;
    line-height:24px;
    height:48px;
    padding-left:5px;
    color:dimgray;
}
#Welcome{
    width:100%;
    margin-left:0;
    text-align:left;
    font-size:small;
    line-height:24px;
}
#txbCnt{
    display:block;
    width:515px;
    margin:0 auto;
    min-height:200px;
    max-height:300px;
    overflow-x:hidden;
    overflow-y:auto;
    text-align:left;
}
#btnSubmit{
    margin-top:10px;
    float:right;
    margin-bottom:10px;
}

#PageFoot{
    clear:both;
    border-top:1px solid #c0c0c0;
    width:100%;
    height:120px;
}
